package com.shop.service;

import com.shop.pojo.DtsTopic;

import java.util.Map;

/**
 * @ClassName DtsTopicService
 * @Author xiao宋
 * @Date 19:57  2022/10/19
 * @Version 1.0
 * @Description TODO
 */
public interface DtsTopicService {
    /**
     * 显示专题列表
     * @param page
     * @param limit
     * @param sort
     * @param order
     * @param title    标题
     * @param subtitle 子标题
     * @return
     */
    Map<String, Object> findByPage(Integer page, Integer limit, String sort, String order, String title, String subtitle);

    DtsTopic creat(DtsTopic topic);

    boolean delete(DtsTopic topic);

    DtsTopic update(DtsTopic topic);
}
